import { Injectable, OnModuleDestroy, OnModuleInit } from '@nestjs/common';
import { QdrantClient } from '@qdrant/js-client-rest';

@Injectable()
export class QdrantService implements OnModuleInit, OnModuleDestroy {
    public client: QdrantClient;

    async onModuleInit() {
        this.client = new QdrantClient({ url: 'http://127.0.0.1:6333' });
    }

    async onModuleDestroy() {
    }
}